#include "AvlNode.h"

void AvlNode::free()
{
	delete (m_pData);
	delete (m_key);
}

AvlNode::AvlNode()
{
	m_lChild = m_rChild = m_parent = NULL; 
	m_pData = NULL; 
	m_key = NULL; 
	m_balanced = 0;
}

AvlNode::AvlNode(StringKey* keyP, Worker* dataP)
{
	m_pData = dataP;
	m_key = keyP;
	m_lChild = m_rChild = m_parent = NULL;
	m_balanced = 0;
}

AvlNode::~AvlNode(void)
{
}
